package com.thoughtworks.biblioteca;


public class MovieRequest {

	private int id;
	private String userName;
	private String movie;
	private String status;

	public MovieRequest(int id, String userName, String movie, String status) {
		this.id = id;
		this.userName = userName;
		this.movie = movie;
		this.status = status;
	}

	public void display() {
		System.out.format("%-5s%-10s%-25s%-10s\n",id,userName,movie,status );
		
	}
	
	public static void close(int requestID ){
		new MovieDB().closeRequest(requestID);
	}

}
